package com.springsecurity.demo.dao;

import com.springsecurity.demo.auth.ApplicationUser;

import java.util.Optional;

/**
 * DESC:
 *
 * @author : yj
 * @since : 2020-08-22
 */
public interface ApplicationUserDao {

    /**
     * 根据 username 查询 applicationUser
     * @param username
     * @return
     */
    Optional<ApplicationUser> selectApplicationUserByUsername(String username);

}
